package com.example.jsr_study.controller;

import com.example.jsr_study.controller.dto.AllotIdForm;
import com.example.jsr_study.utils.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

import javax.validation.Valid;

/**
 * 库存调拨单 控制器
 *
 * @author witt
 * @CreateDate: 2021-12-28
 * @ClassName 库存调拨单
 * @Description 库存调拨单
 */
@RestController
@Slf4j
@Validated
@RequestMapping("/bus/allot")
public class AllotController {


    @ResponseBody
    @PostMapping("/getDetailById")
    public Result<Long> getDetailById(@RequestBody @Valid AllotIdForm form) {
        return Result.ok(null);
    }


}